#include <string>
#include <iostream>
#include <vector>
using namespace std;

class Room {
private:
    int num;//房间编号
    int exitCount;//出口数量
    vector<string> exits;//出口列表

public:
    int princess;//公主是否在房间内
    int monster;//怪物是否在房间内
    int east;//东侧出口编号
    int west;//西侧出口编号
    int south;//南侧出口编号
    int north;//北侧出口编号
    //构造函数
    Room(int num, int exitCount, int princess, int monster, const vector<string>& exits , int east, int west, int south, int north) : num(num), exitCount(exitCount), princess(princess),monster(monster),exits(exits),east(east),west(west),south(south),north(north) {}
    //显示房间信息
    void display() const {
        cout << "Welcome to the Room " << num << ". There are " << exitCount << " exits: ";
        //打印出口列表
        for (const auto& exit : exits){
            cout << exit << ", ";
        }
        cout << endl;
    }

};